const shopcartReducer=(state={
    list:[]
},action)=>{
    switch(action.type){
        case 'getShopcartList':
            return {...state,list:action.payload}
        default:
            return state
    }
}
export default shopcartReducer